package com.workstudy.workstudy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.workstudy.common.annotation.Excel;
import com.workstudy.common.core.domain.BaseEntity;

/**
 * 考勤设置对象 workstudy_attendanceset
 * 
 * @author ws
 * @date 2021-03-28
 */
public class WorkstudyAttendanceset extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考勤设置id */
    private Long attendancesetId;

    /** 每天最长考勤时间 */
    @Excel(name = "每天最长考勤时间")
    private Long maxtime;

    /** 每周最大考勤天数 */
    @Excel(name = "每周最大考勤天数")
    private Long maxday;

    public void setAttendancesetId(Long attendancesetId) 
    {
        this.attendancesetId = attendancesetId;
    }

    public Long getAttendancesetId() 
    {
        return attendancesetId;
    }
    public void setMaxtime(Long maxtime) 
    {
        this.maxtime = maxtime;
    }

    public Long getMaxtime() 
    {
        return maxtime;
    }
    public void setMaxday(Long maxday) 
    {
        this.maxday = maxday;
    }

    public Long getMaxday() 
    {
        return maxday;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attendancesetId", getAttendancesetId())
            .append("maxtime", getMaxtime())
            .append("maxday", getMaxday())
            .toString();
    }
}
